home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 697 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.6 KB

  1. From: Stephen Usher <Stephen.Usher@earth.ox.ac.uk>
  2. Subject: Re: nlist() and MiNT itself.
  3. Date: Fri, 10 Dec 1993 07:56:09 +0000 (GMT)
  4. In-Reply-To: <199312100414.XAA08184@terminator.rs.itd.umich.edu> from "Nicholas S Castellano" at Dec 9, 93 11:14:52 pm
  5. Mime-Version: 1.0
  6.  
  7. >>PS. If you're wondering what info I'm trying to find.. I've added uptime and
  8. >>load averages to my version of MiNT 1.09 (I'll post the diffs once I know
  9. >>it's working properly). At the moment the only way I can see the
  10. >>loadaverages is to press ctrl-alt-F6.. it's a right pain.
  11. >
  12. >Why don't you implement a system call (say Sloadavg()) to retrieve the
  13. >information?  This method has the advantage of not requiring read
  14. >permission on any special files.
  15.  
  16. Good thinking Batman!
  17.  
  18. And Uptime could be Suptime() I suppose.
  19.  
  20. So as to be source compatable with Unix there'd have to be a routine called
  21. getloadavg() added to the library for the load.. I'm not sure if thet IS a
  22. standard way to get the uptime.
  23.  
  24. It would be nice if we could use nlist() to look into the kernel though, it
  25. should help to get a proper ps etc. working.
  26.  
  27. It's facinating what you find when you read /proc/MiNT.000.. it's a pity
  28. it's not MiNT itself!
  29.  
  30. >--
  31. >entropy -- it's not just a good idea, it's the second law.
  32. >Personal mail:      entropy@gnu.ai.mit.edu
  33. >MiNT library mail:  entropy@terminator.rs.itd.umich.edu
  34.  
  35. Steve
  36.  
  37. -- 
  38. ---------------------------------------------------------------------------
  39. Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
  40. E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
  41. Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).
  42.